add_mlir_conversion_library(MLIRAMDGPUToROCDL
  AMDGPUToROCDL.cpp
  Chipset.cpp

  ADDITIONAL_HEADER_DIRS
  ${MLIR_MAIN_INCLUDE_DIR}/mlir/Conversion/AMDGPUToROCDL

  DEPENDS
  MLIRConversionPassIncGen

  LINK_COMPONENTS
  Core

  LINK_LIBS PUBLIC
  MLIRLLVMCommonConversion
  MLIRLLVMDialect
  MLIRROCDLDialect
  MLIRAMDGPUDialect
  MLIRPass
  MLIRTransforms
  )
